package com.city.repository.city;

import com.city.domain.city.CityCopnoteMaincontent;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.Query;

import java.util.List;

/**
 * @deprecation: 记录主要内容分类表
 * @dmail: 398521613@qq.com
 * @author: L-H
 * @date: 2018-07-18 13:14
 */
public interface CityCopnoteMaincontentRepository extends JpaRepository<CityCopnoteMaincontent,Integer> {

    @Query(value = "select * from city_copnote_maincontent", nativeQuery = true)
    List<CityCopnoteMaincontent> getAll();
}
